<template>
  <div>
    <slot name="slotA"></slot>
    <h1>傻儿子</h1>
    <slot></slot>
    <slot name="slotB" :msg="msg"></slot>
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: "告诉你们一个密码",
    };
  },
};
</script>

<style lang="scss" scoped>
</style>